import { Utility } from "@/libs/utility";
export const TestRecipeConfigurationFormConfig = [
  {
    fieldName: "id",
    fieldCNName: "",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "",
  },
  {
    fieldName: "name",
    fieldCNName: "套餐名称",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "inputText",
    rules: {
      required: true, // 只有为true的时候才写，为false这个字段不要
    },
    span: 2,
  },
  {
    fieldName: "recipeType",
    fieldCNName: "套餐类型",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "select",
    itemList: Utility.getDictList("combo_type"),
    span: 2,
    rules: {
      required: true, // 只有为true的时候才写，为false这个字段不要
    },
  },
  {
    fieldName: "dish1",
    fieldCNName: "菜品1",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "inputText",
    span: 2,
  },
  {
    fieldName: "dish2",
    fieldCNName: "菜品2",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "inputText",
    span: 2,
  },
  {
    fieldName: "dish3",
    fieldCNName: "菜品3",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "inputText",
    span: 2,
  },
  {
    fieldName: "dish4",
    fieldCNName: "菜品4",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "inputText",
    span: 2,
  },
  {
    fieldName: "dish5",
    fieldCNName: "菜品5",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "inputText",
    span: 2,
  },
  {
    fieldName: "stapleFood",
    fieldCNName: "主食",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "inputText",
    span: 2,
  },
  {
    fieldName: "description",
    fieldCNName: "备注",
    filedValue: "",
    /** 字段类型，inputText，inputPwd,inputNumber,date,datetime,dateRange,textarea,upload,select,radio,checkbox,switch*/
    type: "textarea",
  },
];
